What pattern can I use to replace apostrophes within text with an *


Badge +1

I have a SQL execute statement within my workflow, I am needing to add a regular expression that replaces apostrophes within text with an * before executing to SQL.  What pattern can I use to perform the replace of an ' with * using the regular expression before the execute statement? 


5 replies

Userlevel 5
Badge +14

that one is quite easy, you do not need any special consideration laugh.png

just use single apostrophe as a pattern and asterix  as a replacement character

205784_pastedImage_2.png

Badge +1

Thank you it worked.  I was making it more complicated than it was.

Userlevel 5
Badge +14

Great!

Please mark correct answer

Userlevel 5
Badge +14

Hi, Gaby Frayjo‌, marking a post just helpful is a way how to promote usefull posts, however, marking an answer correct is highly recommended and much more effective, since correct answer is shown at the top of page right after the question. so everyone can immediately see question and anser together.

have a look on ‌'s reasoning why marking answers correct is usefull  

so I would still encourage you marking a correct answer.

thanks.

Userlevel 5
Badge +14

Hi, ‌, one more attempt....

correct answer should be the post that answers original question. that's the purpose of it.

so I'd ask you to mark my above first post.

Reply