Top "String-parsing" questions

The action of retrieving data from a string

How to validate an email address using a regular expression?

Over the years I have slowly developed a regular expression that validates MOST email addresses correctly, assuming they don't use …

regex validation email email-validation string-parsing
How do I parse a URL query parameters, in Javascript?

Possible Duplicate: Use the get paramater of the url in javascript How can I get query string values in JavaScript? …

javascript url query-string string-parsing
Convert String with Dot or Comma as decimal separator to number in JavaScript

An input element contains numbers a where comma or dot is used as decimal separator and space may be used …

javascript jquery string-parsing data-conversion
How do I extract a substring from a string until the second space is encountered?

I have a string like this: "o1 1232.5467 1232.5467 1232.5467 1232.5467 1232.5467 1232.5467" How do I extract only "o1 1232.5467"? The number of characters to be extracted …

c# .net string string-parsing
Convert String to Float in Swift

I'm trying to convert numbers taken from a UITextField, which I presume, are actually Strings, and convert them to Float, …

string floating-point swift string-parsing
Parse time of format hh:mm:ss

How can I parse a time of format hh:mm:ss , inputted as a string to obtain only the integer …

java date string-parsing
How to separate full name string into firstname and lastname string?

I need some help with this, I have a fullname string and what I need to do is separate and …

c# string string-parsing
Safe integer parsing in Ruby

I have a string, say '123', and I want to convert it to the integer 123. I know you can …

ruby string exception integer string-parsing
Get contents after last slash

I have strings that have a directory in the following format: C://hello//world How would I extract everything after …

c# string-parsing