Hoe get the dob or date birth form string in php












-7















my string is



Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----


i want get the Date of Birth : 21st July 1986 from above string










share|improve this question




















  • 4





    what you have tried so far? add your attempt in your question

    – Alive to Die
    Jan 2 at 10:09






  • 1





    Where does the string come from?

    – B001ᛦ
    Jan 2 at 10:09











  • There are requirements to what questions can be ask and how they should be asked. Please read a bit about that to prevent your questions from getting closed or down voted: stackoverflow.com/help/asking

    – arkascha
    Jan 2 at 10:12











  • @AlivetoDie that string from resume parsing i need get the personal details from that string thanks for your reply

    – kalaivanan
    Jan 2 at 10:17













  • You can aslo try this Solution

    – Yogendrasinh
    Jan 2 at 10:24


















-7















my string is



Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----


i want get the Date of Birth : 21st July 1986 from above string










share|improve this question




















  • 4





    what you have tried so far? add your attempt in your question

    – Alive to Die
    Jan 2 at 10:09






  • 1





    Where does the string come from?

    – B001ᛦ
    Jan 2 at 10:09











  • There are requirements to what questions can be ask and how they should be asked. Please read a bit about that to prevent your questions from getting closed or down voted: stackoverflow.com/help/asking

    – arkascha
    Jan 2 at 10:12











  • @AlivetoDie that string from resume parsing i need get the personal details from that string thanks for your reply

    – kalaivanan
    Jan 2 at 10:17













  • You can aslo try this Solution

    – Yogendrasinh
    Jan 2 at 10:24
















-7












-7








-7








my string is



Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----


i want get the Date of Birth : 21st July 1986 from above string










share|improve this question
















my string is



Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----


i want get the Date of Birth : 21st July 1986 from above string







php






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 at 10:08









Alive to Die

56k83273




56k83273










asked Jan 2 at 10:07









kalaivanankalaivanan

427




427








  • 4





    what you have tried so far? add your attempt in your question

    – Alive to Die
    Jan 2 at 10:09






  • 1





    Where does the string come from?

    – B001ᛦ
    Jan 2 at 10:09











  • There are requirements to what questions can be ask and how they should be asked. Please read a bit about that to prevent your questions from getting closed or down voted: stackoverflow.com/help/asking

    – arkascha
    Jan 2 at 10:12











  • @AlivetoDie that string from resume parsing i need get the personal details from that string thanks for your reply

    – kalaivanan
    Jan 2 at 10:17













  • You can aslo try this Solution

    – Yogendrasinh
    Jan 2 at 10:24
















  • 4





    what you have tried so far? add your attempt in your question

    – Alive to Die
    Jan 2 at 10:09






  • 1





    Where does the string come from?

    – B001ᛦ
    Jan 2 at 10:09











  • There are requirements to what questions can be ask and how they should be asked. Please read a bit about that to prevent your questions from getting closed or down voted: stackoverflow.com/help/asking

    – arkascha
    Jan 2 at 10:12











  • @AlivetoDie that string from resume parsing i need get the personal details from that string thanks for your reply

    – kalaivanan
    Jan 2 at 10:17













  • You can aslo try this Solution

    – Yogendrasinh
    Jan 2 at 10:24










4




4





what you have tried so far? add your attempt in your question

– Alive to Die
Jan 2 at 10:09





what you have tried so far? add your attempt in your question

– Alive to Die
Jan 2 at 10:09




1




1





Where does the string come from?

– B001ᛦ
Jan 2 at 10:09





Where does the string come from?

– B001ᛦ
Jan 2 at 10:09













There are requirements to what questions can be ask and how they should be asked. Please read a bit about that to prevent your questions from getting closed or down voted: stackoverflow.com/help/asking

– arkascha
Jan 2 at 10:12





There are requirements to what questions can be ask and how they should be asked. Please read a bit about that to prevent your questions from getting closed or down voted: stackoverflow.com/help/asking

– arkascha
Jan 2 at 10:12













@AlivetoDie that string from resume parsing i need get the personal details from that string thanks for your reply

– kalaivanan
Jan 2 at 10:17







@AlivetoDie that string from resume parsing i need get the personal details from that string thanks for your reply

– kalaivanan
Jan 2 at 10:17















You can aslo try this Solution

– Yogendrasinh
Jan 2 at 10:24







You can aslo try this Solution

– Yogendrasinh
Jan 2 at 10:24














1 Answer
1






active

oldest

votes


















1














$str="
Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----";

$date = trim(explode(".-",explode(":",$str)[4])[0]);





share|improve this answer


























  • With your code it is giving result as 21st July 1986. With adding ".-" in your code it will gives perfect result.

    – Yogendrasinh
    Jan 2 at 10:22













  • Ok, have you found it usefull?

    – Curlas
    Jan 2 at 10:29











  • @Yogendrasinh thanks work it

    – kalaivanan
    Jan 2 at 10:30











  • @kalaivanan Accept this as your answer if you feel it is your result.

    – Yogendrasinh
    Jan 2 at 10:32











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54004398%2fhoe-get-the-dob-or-date-birth-form-string-in-php%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














$str="
Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----";

$date = trim(explode(".-",explode(":",$str)[4])[0]);





share|improve this answer


























  • With your code it is giving result as 21st July 1986. With adding ".-" in your code it will gives perfect result.

    – Yogendrasinh
    Jan 2 at 10:22













  • Ok, have you found it usefull?

    – Curlas
    Jan 2 at 10:29











  • @Yogendrasinh thanks work it

    – kalaivanan
    Jan 2 at 10:30











  • @kalaivanan Accept this as your answer if you feel it is your result.

    – Yogendrasinh
    Jan 2 at 10:32
















1














$str="
Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----";

$date = trim(explode(".-",explode(":",$str)[4])[0]);





share|improve this answer


























  • With your code it is giving result as 21st July 1986. With adding ".-" in your code it will gives perfect result.

    – Yogendrasinh
    Jan 2 at 10:22













  • Ok, have you found it usefull?

    – Curlas
    Jan 2 at 10:29











  • @Yogendrasinh thanks work it

    – kalaivanan
    Jan 2 at 10:30











  • @kalaivanan Accept this as your answer if you feel it is your result.

    – Yogendrasinh
    Jan 2 at 10:32














1












1








1







$str="
Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----";

$date = trim(explode(".-",explode(":",$str)[4])[0]);





share|improve this answer















$str="
Personal Details :-Name: ABHISHEK DAS-Sex : Male-Date of Birth : 21st July 1986.-Marital status: Married-Nationality: Indian-Languages I can speak: Hindi, English, Bengali. -Declaration:-I here by declare that all the details furnished above are true to the best of my knowledge.-Date:9th November 2017 Abhishek Das----";

$date = trim(explode(".-",explode(":",$str)[4])[0]);






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 2 at 10:30

























answered Jan 2 at 10:17









CurlasCurlas

775413




775413













  • With your code it is giving result as 21st July 1986. With adding ".-" in your code it will gives perfect result.

    – Yogendrasinh
    Jan 2 at 10:22













  • Ok, have you found it usefull?

    – Curlas
    Jan 2 at 10:29











  • @Yogendrasinh thanks work it

    – kalaivanan
    Jan 2 at 10:30











  • @kalaivanan Accept this as your answer if you feel it is your result.

    – Yogendrasinh
    Jan 2 at 10:32



















  • With your code it is giving result as 21st July 1986. With adding ".-" in your code it will gives perfect result.

    – Yogendrasinh
    Jan 2 at 10:22













  • Ok, have you found it usefull?

    – Curlas
    Jan 2 at 10:29











  • @Yogendrasinh thanks work it

    – kalaivanan
    Jan 2 at 10:30











  • @kalaivanan Accept this as your answer if you feel it is your result.

    – Yogendrasinh
    Jan 2 at 10:32

















With your code it is giving result as 21st July 1986. With adding ".-" in your code it will gives perfect result.

– Yogendrasinh
Jan 2 at 10:22







With your code it is giving result as 21st July 1986. With adding ".-" in your code it will gives perfect result.

– Yogendrasinh
Jan 2 at 10:22















Ok, have you found it usefull?

– Curlas
Jan 2 at 10:29





Ok, have you found it usefull?

– Curlas
Jan 2 at 10:29













@Yogendrasinh thanks work it

– kalaivanan
Jan 2 at 10:30





@Yogendrasinh thanks work it

– kalaivanan
Jan 2 at 10:30













@kalaivanan Accept this as your answer if you feel it is your result.

– Yogendrasinh
Jan 2 at 10:32





@kalaivanan Accept this as your answer if you feel it is your result.

– Yogendrasinh
Jan 2 at 10:32




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54004398%2fhoe-get-the-dob-or-date-birth-form-string-in-php%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith