Quantcast
Browsing all 224 articles
Browse latest View live

Help with regex HTML form validation

Hi, I created an HTA that requires First Name, Last Name, and username to be entered. I am working on the First Name validation first. The First Name should only be alpha characters but may include a...

View Article


Help with regex HTML form validation Part 2

Hi, Now I need a pattern to detect last name possibilities. I think this pattern will be slightly more complicated. Names that I see in the database are like: Jones Jones-Smith Jones Smith (no hyphen)...

View Article


My co-worker came up with a regex that validate dates... and it even...

please, tell me this has a...

View Article

Regular Expression to allow combination of character with digits only

I want Regular Expression or any other validation for textbox to allow combination of character with digits only.. which can not be allow only digits or only character.

View Article

Help wanted with regex format.

Given an input string like this: Some text containing % complete and not much else If I use a regex of \bcomplete\b I can find the whole word complete just fine. What I want to do is find % complete....

View Article


Matching a string.

Given this input pattern \[.+" and this string w2rddddd["oQookkkkkk"]rrrrrrrrrrr the pattern returns w2rddddd["oQookkkkkk"]rrrrrrrrrrr, that is, up to and including the second double-quote. What I'd...

View Article

Parsing a string with match groups

Let me start by saying that I'm not the greatest with Regular Expressions, but from research it seems that they are the best way to go for what I need; I just don't fully understand how to use them...

View Article

Parsing ASCII-Only string

Yess, I am still struggling with RegEx. What I have done so far is to validate a string whether it consists of printable ASCII chars only.///<summary>/// The name of the host which has originated...

View Article


MATLAB Code

i want to separate voice and background music from an audio file, for this i have use BSS method. Can any one provide me MATLAB code for BSS(blind source separation)

View Article


[Solved]

Me again. RegEx again. Problem: I need to parse a string which consists out of Key-Value pairs. Keys are separated from values by a "=". Values can contain a "=", but they must be escaped as "\="....

View Article

Regex code to check textfield is working until a 'enter' is given

Hi, we are having troubles whit checking a textfield. What we try to do here is to check if the default text has changed. If that is not the case, then a warning will appear at the end of the form....

View Article

Help with regex HTML form validation Part 2

Hi, Now I need a pattern to detect last name possibilities. I think this pattern will be slightly more complicated. Names that I see in the database are like: Jones Jones-Smith Jones Smith (no hyphen)...

View Article

Advanced practice on regexp

Hi there, I've just read the great "30 Minute Regex Tutorial", by Jim Hollenhorst. A brilliant piece of writing. Congratulations, Jim. Expresso is also a really superb tool. I would need to go deeper...

View Article


My co-worker came up with a regex that validate dates... and it even...

please, tell me this has a...

View Article

Cannot extract end of line data

Hello, I am new to using Regex and hope someone can help with my expresion. I am using VB.net Regex.Match() to extract info. I cannot figure out how to include the text at the end of a line in my...

View Article


Matching separate regions

Hi, I'm using Notepad++ to do some Regex replacements and have come up against a problem I can't solve. I'm looking to match a region between two fixed strings inclusive (called <startstring> and...

View Article

Regex Expression to extract everything following a string and before a space

Hi all, I am looking for a regular expression to extract everything following a string and before a space. Please see the example below. Order placed at the store. Order Date: 01/12/2017 This was...

View Article


Regular Expression To Extract Everything Including the String And Before The...

Hi all, I have a string "Gender: Female Race: American Asian". I would like to extract the following substring from this string. "Gender: Female" Any suggestions how I could accomplish this? Thanks, Ana

View Article

getting all the image files in a HTML Inspection

Hi All. Quick question: I want to find all of the images on a webpage, so I created a regex string as follows:http(s)?://[a-zA-Z0-9]\S+.(jpg|jpeg|bmp|gif|tif|png|webp) And it works. However since not...

View Article

TSV out of a tab-based tree-like file

From a tab-based tree-like file, I'd like to get a flat-file DB (I think I'll make a program out of it and probably using ECMAScript/JavaScript, but whatever I end up doing I need a DB to start with)....

View Article
Browsing all 224 articles
Browse latest View live