how to split string after first occurrence of alphanumeric character?

how to split string after first occurrence of alphanumeric character?

String strArray="135(i),15a,14(g)(q)12,67dd(),kk,159";//splited by ','

divide string after first occurrence of alphanumeric value/character

expected output :

          original         expected o/p
          15a              s1=15   s2=a
          67dd()           s1=67   s2=dd()
          kk               s1=""   s2=kk
          159              s1=159  s2=""

Please help me................

View Answers









Related Tutorials/Questions & Answers:
how to split string after first occurrence of alphanumeric character?
how to get string after first occurence of alphanumeric char in java?
Advertisements
How to find the first 6 characters of string in regex?
ModuleNotFoundError: No module named 'split-alphanumeric'
How to split string in Java?
MySQL replace all non alphanumeric characters
How To Protect Special Characters in Query String?
Java String Occurrence in a String
how to get string between two characters
Split string after each character using regular expression
How to Remove Repeated Characters from the String?
How to split string in Java using comma?
split string with regular expression
JavaScript split string into words.
Iterating the Characters of a String
Count Characters from the input string Java
Remove duplicate characters from the string
JavaScript split string into array
Removing characters from a string
Java String Split Example
Stripping of unwanted characters from string
array split string
String Functions In Java
Java replace all non alphanumeric
how to load value in dropdown list after selecting value from first dropdown list using javascript
Split in java
Remove Repeated Characters from the String
Java split string example
i have split a string by space ,done some operation and now how to properly order them for sending a mail in java or jsp - JSP-Servlet
Alphanumeric Validation in JavaScript
Java count frequency of words in the string
How to Split a large XML file using java?
How to avoid the Special characters? - JDBC
Java 11 String lines function example to split it in lines
Java 11 String lines function example to split it in lines
What is the first argument of the String array in main() method?
Use of <fn:split(String, String)> and <fn:join(String, String)> Tag of JSTL
Escaping Special Characters in a Pattern
how can i remove newline characters and tabs
javascript regex validation alphanumeric
Updating variables in a loop? and only printing certain messages after the first iteration?!
HOW WRITE GREEK CHARACTERS INTO MYSQL BY JSP ?
How a split a file into many based on size?
Split Data
C String uppercase
writing characters
Retrieving String after given Regular expression
Split Demo using RegularExpression
Protect Special Characters.
How to create first Java Program?

Ads