• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Regex spell check help

audiokid

Active member
#1
I am trying to correct the spelling of the word "suming" and replace it to "summing".

I get assuming in the search. How do I isolate suming? Avoid replacing the word assuming ? Thanks.
 

Jake Bunce

XenForo moderator
Staff member
#2
What regex tool are you using?

Example:

Code:
#([^a-zA-Z]{1})suming([^a-zA-Z]{1})#siU
That will match "suming" surrounded by one non-alpha character on each end.
 

Brogan

XenForo moderator
Staff member
#5
Both versions of the URL work for me - the index.php is being stripped automatically due to the friendly URLs function.
 

audiokid

Active member
#7
Both versions of the URL work for me - the index.php is being stripped automatically due to the friendly URLs function.
Thanks Brogan,
I thought that too but it then stopped working. So I discovered all these broken links and was trying to fix it. After playing with the Route Filter, its started working again. Weird.
 

audiokid

Active member
#8
I used an add-on recklessly and need to remove the DLM to start over. How do I strip out the DLM like in these examples? Thank you.
Code:
[DLMURL]http://recording.org/media/categories/kraznet-samplitude.20/[/DLMURL]
[DLMURL]http://www.soundprofessionals.com/cgi-bin/gold/category.cgi?item=MS-LAV-1[/DLMURL]
[DLMURL="http://www.soundonsound.com/sos/may13/articles/samplitude-0513.htm"]here[/DLMURL]
 

audiokid

Active member
#9
I made the mistake of removing my internal links.
Using Replace in Post Regex add-on:
How would I only remove the DLM from a specific domain?

Example:

Code:
[DLMURL]http://recording.org/media/categories/kraznet-samplitude.20/[/DLMURL]
[DLMURL]http://recording.org/forums/fix-this-mix.20/[/DLMURL]
[DLMURL]http://recording.org/threads/firepod-fp10-question-ahh.38339/page-2#post-440356[/DLMURL]
 
Last edited:

Jake Bunce

XenForo moderator
Staff member
#10
I made the mistake of removing my internal links.
Using Replace in Post Regex add-on:
How would I only remove the DLM from a specific domain?

Example:

Code:
[DLMURL]http://recording.org/media/categories/kraznet-samplitude.20/[/DLMURL]
[DLMURL]http://recording.org/forums/fix-this-mix.20/[/DLMURL]
[DLMURL]http://recording.org/threads/firepod-fp10-question-ahh.38339/page-2#post-440356[/DLMURL]
Quick Find: [DLMURL]http://recording.org

Regular expression: #\[DLMURL\]([^\[]+)\[/DLMURL\]#siU

Replacement String: [URL]\1[/URL]

I think that's what you want.