Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. east666

    Regular Expression

    Hi Adam, Yes, you are correct in what you are saying. This is because basically we have a CMS that uses Microsofts DHTML Active X component for the Text Editor. When I paste the relevant HTML entities into the editor, such as (β), and save it, the CMS copies the contents of the editor to...
  2. east666

    Regular Expression

    Thanks Adam. I changed it slightly to be: return str.replace(/&([A-Za-z]+;)/g,"??$1"); as it was picking up normal (&) by themselves. So it works the way I expected. Do you think this is the right way to do it.
  3. east666

    Regular Expression

    Hi All, I am wanting to search a string for the occurence of an expression, and then change the expression in the string. I need to search for HTML entities, such as Beta(β), Trademark(™)....etc Once one has been found, I want to replace the beginning "&" with say "??" or something...

Part and Inventory Search

Back
Top