Siebel Business Process & Functionality (MOSC)

MOSC Banner

left padding with zero in siebel.

edited Mar 30, 2016 5:17AM in Siebel Business Process & Functionality (MOSC) 1 commentAnswered

I have a requirement in siebel Where user is putting value in text box like 5-6-78-4. and i have to pad it with zero like ..05-06-078-4.How can i implement it. Any idea how i can implement it with regular expresion. I have regex for  match "/([0-9]{2})\-([0-9]{2})\-([0-9]{3})\-([0-9]{1,3})/g". But dont know how to pad with left zero if it doesn't match.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center