View Single Post
Old 03-21-2024, 03:02 PM   #3
lindlind
Junior Member
lindlind began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2024
Device: none
I think I was not very clear, it tried to make it as simple as possible, showing that I can search for the string in Regex mode but not in Regex function mode. This just made it impossible to understand what I need...

The initial search is actually wider (<div.*?</div>), and I will do many replacements within the function, one of them is this:

string.replace('</span>\s*<br/>\s*', 'xx')

But it seems I cannot use \s or quantifiers in the function. Is there a way to do this?
lindlind is offline   Reply With Quote