3
votes
1answer
253 views

Javascript regex replace using $ with WebKit

Using $ to match end-of-input gives a zero-length match everywhere else but no evidence of a match with WebKit: function showBug() { Result = "the end.".replace( /(end\.)([\s]|$)?/img, makeChange ...
1
vote
0answers
94 views

Walking Dom in PHP to replace a list of string found into “HTML text”

I would like to replace a word list (in array) in a list of links (hrefs in array) into an html page. I think mostly have 2 options: Doing this from regular expressions (strongly discouraged to ...
1
vote
0answers
94 views

freepascal regexp replace

Is there an easy way to do a RegExp replace in FreePascal/Lazarus? Hunting around I can see that I can do a match fairly easily, but I'm struggling to find functions to do a search and replace. What ...
1
vote
0answers
275 views

C++ Strip certain tags + replacing HTML special characters

I have a problem with striping XML tags(with propeties e.g <smth a="xxxx">important data</smth>). To do that I was using this std::string ex = ...
1
vote
0answers
161 views

search, replace and regroup with regexp and php

I would like to search and replace some tags with regexp. this is my starting string: <p>some bla bla bla</p> <p class="normale">&bull;bla bla and bla</p><p ...
0
votes
0answers
37 views

multiline search replace with regexp in eclipse

Unfortunately, Eclipse (or other IDEs - Idea, Netbeans) does not provide good support for multiline search-replace, or I cannot find it. Regexp search works pretty well, so for example in search box I ...
0
votes
0answers
77 views

Changing numbers with Replace

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using ...
0
votes
0answers
56 views

how to rewrite foreach DomDocument function using standard php regex

How would I rewrite this DomDocument php to grab assign my array key to the proper image? NOTE:: multiple images in $html or the_content. I need to loop thru each one. This is the regex to find the ...
0
votes
0answers
127 views

Java regular expression finding special char in non-comments

after I switched workspace encoding to UTF-8 and back (Windows-ISO), all my (German) umlauts got converted to �. I want to replace all the � by Eclipse Find/Replace with static references. ...
0
votes
0answers
63 views

Execute regexp_* functions on Oracle XE 11g

After installing Oracle XE 11g on Windows Vista I am unable to exeute any of the regex functions that come with Oracle. (regexp_replace, regexp_instr etc) The documentation on features @ ...
0
votes
0answers
52 views

How to regex replace URLS/Links that have different characters?

I have the wordpress plugins Search & Replace or Search Regex. Or I can do in SQL. But, I can't seem to get the correct format to replace my urls. How do I properly format it to replace a link ...
0
votes
0answers
167 views

Using perl to replace accented word with no accent and associated number

Any accented word needs the accent to be removed and then a corresponding number should be added at the end of the word for example gàr must appear as gar3 words will only show acute accent and ...
0
votes
0answers
82 views

Rewrite Generic URLs into real URLs on Google Analytics

I have an iPhone app for a forum which also has a limited Google Analytics reporting. This app reports the page views in following form: /forum/67 /thread/29036 etc... The numbers above represent ...
0
votes
0answers
191 views

Javascript Regex to match and replace tag brackets if tag is closed

I am copying html to a content editable on keyup and I want the html to be turned into html tags. The contenteditable creates entities. I figured I would use Javascript replace fn and it worked ...
0
votes
0answers
159 views

Firefox weird behavior on javascript replace with regexp

So i have a really nice regexp that cleans a copy made from doc and docx on javascript before save, that goes like this: .replace(/<[^>]\{1,\}>/g,/[^[:print:]]\{1,\}/g) Instead of a ...

1 2 3 4 5 8
15 30 50 per page