Browse by Tags
Showing page 2 of 4 (32 total posts)
I am working on making a bbcode system with php using preg_replace(), and I am making it so that other tags will not work inside of a code block. This is the code I am currently using, it almost works:
what I want it to do is if [*code] and [*/code] are around the text inside, ...
Im am writing a function in SQL Server 2005 using a simple C# assembly that implements C# regex functions. I found the assembly on codeproject.
The data I am trying to modify contains numbering, that was entered by a 5 year old probably.
Here is 5 of the problem data on the LEFT and data I need to return on the RIGHT
The word ...
I'm re-learning RegEx after not visiting it for years, so I'd ...
Hi all, Please help to me to solve my problem. I want to search inthe following string. “Your user id is U101 and password is P101” I want to capture 101 following the letter ‘U’. I can get itusing the regular expression “U(\d)+”. But the result is carrying the letter‘U’. I can’t ...
I`m using ASP.NET C# and need to create a web application to autofix some text where company name and product names are missing ®(registered) and ™(trademark) symbols. We have a huge amount of text as articles in 30 different languages. I`m planning to use RegExs MatchCollection to find all hits in each article and then replace ...
I'm currently working on a ASP.NET project where i want to replace sertain words with a link ex. "all your base are belong to us, is a cool phrase" if I want to replace the letter a as in "a cool phrase" with <a href="/#mylink">a</a> i want the new string to look like this, "all your base ...
I'm using c#
I need to replace all spaces between <a and >
this mean only within the opening tag. i would like to replace the space with [SAVESPACE]
Input: Hello. <a href='blaaa' target='_blank'>hello world</a> blaaa <a href='blaaa2' ...
Hello, I need help on matching and replacing text with different matched text from same string. My goal is to be able to batch process a large set of text files that each have similar patterns and replacement criteria. Below is an example of a typical case. In the example below, BOLD text replaces strikeout text:
TITLE: Beautiful Losers - ...
I'm processing a comma delimited string and need to *ALL* replace missing values with '0's. Leading and/or trailing ','s denote missing values. For example:
The string ",,2,3,,,4," becomes "0,0,2,3,0,0,4,0"
Note that there are missing values at BOTH the beginning AND the end of the input ...
Hi, i got a dillema... for a company i need to make every occurence of it's company name to be in red and bold font.
i have writen a simple function that i can call and filter all text database records
If inputText<>"" Then