Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

android regex

0
votes
0 answers
42 views

Java.util.regex.PatternSyntaxException on Android

I am getting a java.util.regex.PatternSyntaxException when trying to call string.split() with the regex (?<=}),(?=\\{) against a string such as…
asked June 16, 2011 11:22 am CDT
Rupert Bates
0
votes
2 answers
28 views

Validating Regex: Make sure it will match at least two characters

I'm working on an Android app which will allow users to input regex expressions. I'll use the regex to query a database ( MOTL ), but I don't want…
asked June 6, 2011 6:59 pm CDT
Brian S
0
votes
6 answers
32 views

Replace substring of matched regex

I fetch some html and do some string manipulation and en up with a string like string sample = "\n \n 2 \n \n \ndl. \n \n \n flour\n\n \n 4 \n \n…
asked May 26, 2011 2:16 pm CDT
Flexo
0
votes
0 answers
39 views

Android String.split NullPointerException

Hey stackers, ok - so this error is currently driving me totally nuts. I've tried to ways and both throw either a NullPointerException or a…
asked May 9, 2011 4:21 pm CDT
jcfrei
1
vote
2 answers
54 views

Regex in Jsoup works in java project, not in Android poject..

Hello. I'm trying to get the thumbnails URL from a web-site using Jsoup HTML Parser i need to extract all the URL's that ends with 60x60.jpg(or png)…
asked April 27, 2011 3:51 am CDT
Lopatamd
0
votes
1 answer
31 views

Regex pattern to strip some invalid JSON elements

Hello, Thanks for reading! I am trying to parse a JSON feed in a format like this: (bpjc{"menu": { "id": "file", "value": "File", "popup": {…
asked April 25, 2011 2:15 pm CDT
Sagar Hatekar
0
votes
1 answers
39 views

Android AutoCompleteTextView with Regular Expression?

hi guys, noob to Android here, coming from iOS, .Net before that, C & Fortran way before all that. if I have an ArrayAdapter with some 1000+…
asked April 16, 2011 10:54 pm CDT
dhomes
0
votes
4 answers
33 views

Validate string with regex on android

Hi, I want that my string didn't contain * , ; and $ . I use this code private static boolean IsMatch(String s, String pattern) { try { Pattern patt…
asked April 13, 2011 3:26 am CDT
foufi
0
votes
2 answers
32 views

Android sqlite numeric filter

I have table named "lantable" in sqlite database where there is a column named "engword". I want to filter those rows which does not starts with…
asked April 4, 2011 1:10 am CDT
dalandroid
0
votes
0 answers
33 views

Strange results from: replaceAll("[0123456789]","")

Hello all, I am creating an Android application to display train schedule and delay. In my webservice the trains are identified with this structure:…
asked March 26, 2011 8:21 am CDT
Profete162
0
votes
2 answers
30 views

Regular expression in android for accept only English language

I try Pattern.matches("[A-Za-z]+" and it still can accept other languages such as ฟฟฟฟabc or abcฟฟฟ what should I do?
asked March 17, 2011 9:39 am CDT
user655443
0
votes
0 answers
42 views

What is the best way to store and work with locale-dependent regular expressions in Android?

I use a bunch of locale-dependent Regular Expressions in my project, For example (a simplest one): \b(one|two|three|...|\d+)\b So I want to store…
asked February 26, 2011 8:19 am CST
shaman.sir
1
vote
1 answer
81 views

Android TextUtils.split to deliver a fixed length string[]

I cannot get a string broken into fixed length chunks and added to an ArrayList ... the code below iterates through as expected, but all the…
asked February 20, 2011 2:00 pm CST
Bill Mote
1
vote
3 answers
51 views

Force Close on Regular Expression !match

Hello! I am having a problem with the following bit of code. I am trying to match a string. When I have a match everything works perfectly. When it…
asked February 17, 2011 8:44 am CST
Bill Mote
1
vote
1 answer
50 views

How can i parse a PHP array from Android SDK?

Hello, I dont like others do my duties, but i'm not a RegEx expert and i think you guys would be a great help. I'm building a newsletter Android app…
asked February 16, 2011 10:26 pm CST
Enrique Diaz
0
votes
2 answers
169 views

Android : Parse HTML block of code

I have the following piece of HTML code which I need to parse to retrieve the player name and the runs he has scored. In this case it's 'Ross…
asked February 16, 2011 12:20 pm CST
sammydude
2
votes
2 answers
48 views

Can I do regex replace in Android with groups from the match?

Hi, I'd like to do something like this on Android : from: *foo* bar*stuff* dest: <b>foo</b> bar<b>stuff</b> In C# , I'd…
asked February 16, 2011 2:44 am CST
Axarydax
0
votes
3 answers
111 views

"Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )" syntax error

I wrote code for matching filepath which have extenstion .ncx , pattern = Pattern.compile("$(\\|\/)[a-zA-Z0-9_]/.ncx"); Matcher matcher =…
asked February 10, 2011 10:55 pm CST
Kariyachan
0
votes
3 answers
68 views

Android: Need help with Regex

Hi there, I need to match Twitter-Hashtags within an Android-App, but my code doesn't seem to do what it's supposed to. What I came up with is:…
asked January 30, 2011 11:44 am CST
HPD
0
votes
2 answers
55 views

Textview regular expression in string Android ?

I have string that include (look: string) (in this format) within the text that displayed in my "textview" i wanna linkify the "string" part and…
asked January 10, 2011 6:46 am CST
Burak Dede
Pages : 1 | 2 >
21

android regex

Tagged: android + regex
Related Tags
php × 1423
javascript × 860
c# × 713
java × 621
python × 464
perl × 344
ruby × 283
string × 230
.net × 226
jquery × 225
html × 174
preg-replace × 165
preg-match × 153
asp.net × 142
replace × 124
parsing × 124
validation × 110
sed × 108
url × 106
mysql × 103
.htaccess × 102
mod-rewrite × 101
bash × 92
grep × 92
c++ × 69
match × 68