What would be a regex pattern for the following ' and ® in Java. I have tried the following but have not been successful

1.&#[0-1][0-1][0-1]
2.&#\d\d

Use the unicode value, i.e. '\u00ae' to match ®.

You can look up the unicode value for others as needed

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.